package com.jisf.driver.mapper;

import com.jisf.driver.entity.enumtype.SubjectEnum;
import com.jisf.driver.entity.po.StudentExamine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jisf.driver.entity.vo.ExamineStudentResponseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jisf
 * @since 2022-05-10
 */
public interface StudentExamineMapper extends BaseMapper<StudentExamine> {

    Integer getExamineCount(@Param("student_id") Integer userid, @Param("subject") SubjectEnum subject);

    List<ExamineStudentResponseVo> getExamineStudent(Integer examineId);

}
